package main

import (
	"fmt"
)

func main() {
	//var key string = "zhou2"
	//var val string = "yang2"
	//var user User = User{Id :"zhou2",Name:"zhouyang222",Age:24}
	//res,_:=get(&key) 查
	//fmt.Println(*res)

	//var listName string  = "lzhou1"
	//res,_ := setStruct(&key,user,0)
	//res,_ := insertTail(listName,"z4")
	//res,_:= listLen(listName)

	//var setName string = "szhou1"
	//res, _ := setAdd(setName,"yang2")
	//res, _ := isInset(setName, "yang3")
	//res,_ := getSetIn(setName,"szhou2")
	//res,_ := getAllSet("szhou2")

	//var hashName string = "hzhou1"
	//	////m := map[string]interface{}{"z":"y"}
	//	////res,_ := addMapHash(hashName,m)
	//	//res,_ := getHash(hashName,"z")

	var sortName string = "zzhou"
	//res, _ := zsortAdd(sortName,"client1",88)
	//res,_ := zRangeWithScores(sortName,0,5)
	res, _ := zRangeBy(sortName, "50", "100", 0, 5)
	fmt.Println(res)
}
